/*
 * @Author: wangyongcun@persagy.com
 * @Date: 2025-03-08 15:55:07
 * @LastEditTime: 2025-03-11 18:59:23
 * @FilePath: \vite-admin\src\router\guard\index.ts
 * @Description: 路由守卫
 *
 */
import { createProgressGuard } from './progress';
import { createDocumentTitleGuard } from './title';
import { createAuthGuard } from './auth';

// 路由守卫
export function createRouterGuard(router: Router) {
  createProgressGuard(router);
  createDocumentTitleGuard(router);
  createAuthGuard(router);
}
